-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(language-service): do not crash when Angular cannot be located #14123
Conversation
containingFile | ||
} `: ''}`), | ||
null); | ||
return this.getStaticSymbol(module, symbolName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use a fake path so that it is clear that this symbol was produced from an error condition? E.g. this.getStaticSymbol('ERROR', symbolName)
?
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes #14122
What kind of change does this PR introduce? (check one with "x")
What is the current behavior? (You can also link to an open issue here)
The language service crashes when open on project that does not contain angular (#14122)
What is the new behavior?
The language service returns undefined for all calls.
Does this PR introduce a breaking change? (check one with "x")